import service from '@/utils/request'

// @Tags CustomProcessBase
// @Summary 创建CustomProcessBase
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBase true "创建CustomProcessBase"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBase/createCustomProcessBase [post]
export const createCustomProcessBase = (data) => {
     return service({
         url: "/customProcessBase/createCustomProcessBase",
         method: 'post',
         data
     })
 }


// @Tags CustomProcessBase
// @Summary 删除CustomProcessBase
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBase true "删除CustomProcessBase"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBase/deleteCustomProcessBase [delete]
 export const deleteCustomProcessBase = (data) => {
     return service({
         url: "/customProcessBase/deleteCustomProcessBase",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBase
// @Summary 删除CustomProcessBase
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除CustomProcessBase"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBase/deleteCustomProcessBase [delete]
 export const deleteCustomProcessBaseByIds = (data) => {
     return service({
         url: "/customProcessBase/deleteCustomProcessBaseByIds",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBase
// @Summary 更新CustomProcessBase
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBase true "更新CustomProcessBase"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /customProcessBase/updateCustomProcessBase [put]
 export const updateCustomProcessBase = (data) => {
     return service({
         url: "/customProcessBase/updateCustomProcessBase",
         method: 'put',
         data
     })
 }


// @Tags CustomProcessBase
// @Summary 用id查询CustomProcessBase
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBase true "用id查询CustomProcessBase"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /customProcessBase/findCustomProcessBase [get]
 export const findCustomProcessBase = (params) => {
     return service({
         url: "/customProcessBase/findCustomProcessBase",
         method: 'get',
         params
     })
 }


// @Tags CustomProcessBase
// @Summary 分页获取CustomProcessBase列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取CustomProcessBase列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBase/getCustomProcessBaseList [get]
 export const getCustomProcessBaseList = (params) => {
     return service({
         url: "/customProcessBase/getCustomProcessBaseList",
         method: 'get',
         params
     })
 }